package com.yeyks.service;

import com.yeyks.dal.domain.RoomInfo;
import com.yeyks.dto.RoomInfoDetailDTO;
import org.apache.ibatis.annotations.Param;

/**
 * @Author fuchangshuai
 * @date 2019/3/7 10:33 AM
 */
public interface RoomInfoService {
    RoomInfo selectByPrimaryKey(Integer roomId);

    /**
     * 通过房间id获取房间详情
     *
     * @param roomId
     * @return
     */
    RoomInfoDetailDTO roomDetail(Integer roomId);

    /**
     * 通过id进行删除（将isDel字段修改为0）
     *
     * @param id
     * @return
     */
    int deleteById(Integer id, Integer isDel);
}
